﻿<!DOCTYPE HTML>
<html>
<head>
<#include "/script.ftl">
<title>订单列表</title>
<link rel="stylesheet" type="text/css" href="../static/eth/css/intair_c.css" />
<link rel="stylesheet" type="text/css" href="../static/eth/css/intcar.css" />
<link rel="stylesheet" type="text/css" href="../static/eth/css/intcarSelect.css" />
<script type="text/javascript" src="../lib/layer/2.1/layer.js"></script> 
<script type="text/javascript" src="../static/eth/js/jElass.js"></script>
<script type="text/javascript" src="../static/eth/js/jElassExec.js"></script>
<script type="text/javascript" src="../static/eth/js/searchCarType.js"></script>
<script type="text/javascript" src="../static/eth/js/airports.js"></script>
<script type="text/javascript" src="../static/eth/js/intcarCitys.js"></script>
<script type="text/javascript" src="../static/eth/js/airlines.js"></script>
<script type="text/javascript" src="../static/eth/js/queryAddress.js"></script>
</head>
<body id="body" class="common_body">
	<nav class="breadcrumb">
		<i class="Hui-iconfont">&#xe67f;</i> 首页
		<span class="c-gray en">&gt;</span>订单管理
		<span class="c-gray en">&gt;</span> 用车下单
	</nav>
	<div class="page-container">
		<div id="tab_demo" class="HuiTab">		
	  		<div class="myTabBar myClearfix" ><span>包车游</span><span>接机</span><span>送机</span><span>单次接送</span></div>
	  		<#--包车游-->
	  		<div class="myTabCon text-c create_order_box" style="margin:0 auto">
	  			<form action="" autocomplete="off">
		  		  	<ul class="clearfix">
						<li class="cls_f fl">
							<p onClick="setBaoche(0)">
								<label>
									<input name="baocheRadio" value="0" type="radio" checked="checked">
										市内包车
								</label>
							</p>
							<p class="mt-10" onClick="setBaoche(1)">
								<label>
									<input name="baocheRadio" value="1" type="radio">
										跨市包车
								</label>
							</p>
						</li>
						<li class="cls_s fl">
							<div class="cls_s_line">
								<div class="cls_s_item2">
									<span class="fl">用车城市</span>
									<input type="text" class="input-text intcarCitys" name="fromCity" id="fromCity" placeholder="中文/三字码" >
									<input type="hidden" name="auto_fromCity" id="auto_fromCity">
								</div>
								<div class="cls_s_item2">
									<span class="fl">上车地址</span>
									<input type ="text" class="input-text saddress" id="fromAddress" name="fromAddress" placeholder="请选择上车地址" prefix="from" suffix="" >
									<input type ="hidden" id="fromLongitude" name="fromLongitude">
									<input type ="hidden" id="fromLatitude" name="fromLatitude">
								</div>
								<div class="cls_s_item2" id="baoche-out-city" style="display:none">
									<span class="fl">下车地址</span>
									<input type="text" class="input-text saddress" placeholder="请选择下车地址"  name="toAddress" id="toAddress" prefix="to" suffix="">
									<input type ="hidden" id="toLongitude" name="toLongitude">
									<input type ="hidden" id="toLatitude" name="toLatitude">
								</div>
							</div>
							<div class="cls_s_line">
								<div class="cls_s_item2">
									<span class="mt-10 fl">用车时间</span>
									<input type="text" class="input-text mt-10" name="useTime" id="useTime" placeholder="yyyy-MM-dd HH:mm:ss" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})" >
								</div>
								<div class="cls_s_item2">
									<span class="fl mt-10">包车天数</span>
									<select class="input-text mt-10" style="width:70px" placeholder="请选择包车天数" name="useDuration" id="useDuration">
										<option value="1">1天</option>
										<option value="2">2天</option>
										<option value="3">3天</option>
										<option value="4">4天</option>
										<option value="5">5天</option>
										<option value="6">6天</option>
										<option value="7">7天</option>
										<option value="8">8天</option>
										<option value="9">9天</option>
										<option value="10">10天</option>
									</select>
									<a class="btn btn-primary mt-10" href="javascript:baocheResultSubmit()">搜索车型</a>
								</div>
							</div>
						</li>
					</ul>
				</form>
	  		</div>
	  		<#--接机-->
	  		<div class="myTabCon text-c create_order_box">
				<form action="savebyRt" method="post" id="rtForm" class="form form-horizontal"  autocomplete="off">
					<ul class=" clearfix">
						<li class="cls_f fl">
							<p onClick="setJieji(0)">
								<label>
									<input name="jiejiRadio" value="0" type="radio" checked="checked">
										按航班号
								</label>
							</p>
							<p class="mt-10" onClick="setJieji(1)">
								<label>
									<input name="jiejiRadio" value="1" type="radio">
										按机场名
								</label>
							</p>
						</li>
						<li class="cls_s fl">
							<div class="cls_s_line" id="jieji-flight">
								<div class="cls_s_item2">
									<span class="fl">起飞日期</span>
									<input type="text" class="input-text" placeholder="yyyy-MM-dd"  name="outBoundDate2" id="outBoundDate2" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})">
								</div>
								<div class="cls_s_item2">
									<span class="fl">航班号</span>
									<input type="text" class="input-text" placeholder="例如 MU5166"  name="flightNum2" id="flightNum2" value="">
									<a class="btn btn-primary">查询航班</a>
								</div>
							</div>
							<div class="cls_s_line" id="jieji-airport" style="display:none">
								<div class="cls_s_item2">
									<span class="fl">接机机场</span>
									<input type="text" class="input-text airports" placeholder="中文/三字码"  name="airport2" id="airport2">
									<input type="hidden" name="auto_airport2_name" id="auto_airport2_name">
									<input type="hidden" name="auto_airport2_code" id="auto_airport2_code">
									<input type="hidden" name="auto_airport2_longitude" id="auto_airport2_longitude">
									<input type="hidden" name="auto_airport2_latitude" id="auto_airport2_latitude">
								</div>
							</div>
							<div class="cls_s_line">
								<div class="cls_s_item2 mt-10 ">
									<span class="fl">用车时间</span>
									<input type="text" class="input-text" placeholder="yyyy-MM-dd HH:mm:ss" name="useTime2" id="useTime2" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})">
								</div>
								<div class="cls_s_item2 mt-10">
									<span class="fl">送达地址</span>
									<input type="text" class="input-text saddress" placeholder="请选择送达地址"  name="toAddress2" id="toAddress2" prefix="to" suffix="2">
									<input type ="hidden" id="toLongitude2" name="toLongitude2">
									<input type ="hidden" id="toLatitude2" name="toLatitude2">
									<a class="btn btn-primary" onClick="jiejiResultSubmit()">搜索车型</a>
								</div>
							</div>
						</li>
					</ul>
				</form>
			</div>
			<#--送机-->
			<div class="myTabCon text-c create_order_box">
	  			<form action="savebyRt" method="post" id="rtForm" class="form form-horizontal"  autocomplete="off">
					<ul class=" clearfix">
						<li class="cls_f fl">
							<p onClick="setSongji(0)">
								<label>
									<input name="songjiRadio" value="0" type="radio" checked="checked">
										按航班号
								</label>
							</p>
							<p class="mt-10" onClick="setSongji(1)">
								<label>
									<input name="songjiRadio" value="1" type="radio">
										按机场名
								</label>
							</p>
						</li>
						<li class="cls_s fl">
							<div class="cls_s_line" id="songji-flight">
								<div class="cls_s_item2">
									<span class="fl">起飞日期</span>
									<input type="text" class="input-text" placeholder="yyyy-MM-dd"  name="outBoundDate3" id="outBoundDate3" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})">
								</div>
								<div class="cls_s_item2">
									<span class="fl">航班号</span>
									<input type="text" class="input-text" placeholder="例如 MU5166"  name="flightNum3" id="flightNum3" value="">
									<a class="btn btn-primary">查询航班</a>
								</div>
							</div>
							<div class="cls_s_line" id="songji-airport" style="display:none">
								<div class="cls_s_item2">
									<span class="fl">送机机场</span>
									<input type="text" class="input-text airports" placeholder="中文/三字码"  name="airport3" id="airport3">
									<input type="hidden" name="auto_airport3_name" id="auto_airport3_name">
									<input type="hidden" name="auto_airport3_code" id="auto_airport3_code">
									<input type="hidden" name="auto_airport3_longitude" id="auto_airport3_longitude">
									<input type="hidden" name="auto_airport3_latitude" id="auto_airport3_latitude">
								</div>
							</div>
							<div class="cls_s_line">
								<div class="cls_s_item2 mt-10 ">
									<span class="fl">用车时间</span>
									<input type="text" class="input-text"   placeholder="yyyy-MM-dd HH:mm:ss" name="useTime3" id="useTime3" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})">
								</div>
								<div class="cls_s_item2 mt-10">
									<span class="fl">出发地址</span>
									<input type="text" class="input-text saddress" placeholder="请选择出发地址"  name="fromAddress3" id="fromAddress3" prefix="from" suffix="3">
									<input type ="hidden" id="fromLongitude3" name="fromLongitude3">
									<input type ="hidden" id="fromLatitude3" name="fromLatitude3">
									<a class="btn btn-primary" onClick="songjiResultSubmit()">搜索车型</a>
								</div>
							</div>
						</li>
					</ul>
				</form>
	  		</div>
	  		<#--单次接送-->
	  		<div class="myTabCon text-c create_order_box">
	  			<form action="" autocomplete="off">
		  		  	<ul class="clearfix">
						<li class="cls_f fl">
							<p onClick="setjiesong(0)">
								<label>
									<input name="jiesongRadio" value="0" type="radio" checked="checked">
										市内接送
								</label>
							</p>
							<#--<p class="mt-10" onClick="setjiesong(1)">
								<label>
									<input name="jiesongRadio" value="1" type="radio">
										跨市接送
								</label>
							</p>-->
						</li>
						<li class="cls_s fl">
							<div class="cls_s_line">
								<div class="cls_s_item2">
									<span class="fl">用车城市</span>
									<input type="text" class="input-text intcarCitys" placeholder="中文/三字码" name="fromCity4" id="fromCity4" value="">
									<input type="hidden" name="auto_fromCity4" id="auto_fromCity4">
								</div>
								<div class="cls_s_item2">
									<span class="fl">上车地址</span>
									<input type="text" class="input-text saddress" placeholder="请选择上车地址"  name="fromAddress4" id="fromAddress4" prefix="from" suffix="4">
									<input type ="hidden" id="fromLongitude4" name="fromLongitude4">
									<input type ="hidden" id="fromLatitude4" name="fromLatitude4">
									
								</div>
							</div>
							<div class="cls_s_line">
								<div class="cls_s_item2 mt-10">
									<span class="fl">下车地址</span>
									<input type="text" class="input-text saddress" placeholder="请选择上车地址"  name="toAddress4" id="toAddress4" prefix="to" suffix="4">
									<input type ="hidden" id="toLongitude4" name="toLongitude4">
									<input type ="hidden" id="toLatitude4" name="toLatitude4">
								</div>
								<div class="cls_s_item2 mt-10">
									<span class="fl">用车时间</span>
									<input type="text" class="input-text" name="useTime4" id="useTime4" placeholder="yyyy-MM-dd HH:mm:ss" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})">
									<a class="btn btn-primary" href="javascript:jiesongResultSubmit()">搜索车型</a>
								</div>
							</div>
						</li>
					</ul>
				</form>
	  		</div>
		</div>
	
		<input type="hidden" id="addressID" value="">
		<div id="queryAddress"  style="font-size: 12px;display:none;">
		    <div class="top">
		        <span>如需缩小范围，请输入更多</span>
		        <b>X</b>
		    </div>
		    <div class="addresslist">
		        <ul>
		        </ul>
		    </div>
		</div>
	
		<div class=" result">
			<div class="contner">
				<div id="flightinfo" class="hide">
						
				</div>
				
				<div class="querying " style="display: none;">
					搜索进行中,请稍候...
				</div>
				
				<div class="queryResult " style="display: block;">
					<div class="estimatedinfo" style="display: none;">
						预计里程：共 <b id="estimatedDistance"></b> 公里，预计行驶： <b id="estimatedTime"></b> 分钟
					</div>
						
					<div class="left" id="carList">
						
					</div><!-- end of left -->
					<div class="right" id = "showRight">
					</div><!-- end of right -->
				</div>
			</div><!-- end of contner -->
		</div>
	</div>
</body>
</html>
